<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">

    <script src="./node_modules/vue/dist/vue.js"></script>
    <script>
        window.onload = function () {

            var app01 = new Vue({
                el: '#app01',
                data: {
                    msg: '10089'
                },
                methods: {
                    touchme: function () {
                        alert('==')
                        this.msg = 'abcdes'
                    }
                },
                computed: {
                    changeMsg: function () {
                        return this.msg.split('').reverse().join('=')
                    }
                },
            })

            app01.msg = 'ZZZZZZZ'
            console.log()

        }
    </script>
    <title>Document</title>
</head>

<body>

    <div>
        <span v-for="item in 10">{{ item }}</span>
    </div>

    <div>
        <span v-for="n in 10">{{ n }} </span>
    </div>


    <div id="app01">
        <p style="color: blueviolet">{{ msg }}</p>
        <button v-on:click='touchme'>touchme!</button>

    </div>




</body>

</html>